import java.util.Scanner;

public class test47{
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("Enter the radius of the bounding circle: ");
        double r = input.nextDouble();
        double[] angles = {0, 72, 144, 216, 288};
        System.out.println("The coordinates of five points on the pentagon are");
        for (double angle : angles) {
            double radian = Math.toRadians(angle);
            double x = r * Math.cos(radian);
            double y = r * Math.sin(radian);
            System.out.printf("(%.2f, %.2f)%n", x, y);
        }
        input.close();
    }
}
